package com.dashu.authority.repository;

import java.util.List;
import java.util.Map;

import com.dashu.authority.entity.UserAndRole;
import com.github.abel533.mapper.Mapper;

public interface UserAndRoleMapper extends Mapper<UserAndRole> {	
	public List<UserAndRole> queryAllByExample(Map<Object,Object> params);	
	public Integer insertByBatch(Map<Object,Object> params);
	public Integer deleteByRoleIds(List<Integer> roleIds);
	public Integer deleteByUserid(Integer userId);
}	